package cn.edu.ctbu.datajpa01.domain.repository;


import cn.edu.ctbu.datajpa01.domain.Administrator;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdministratorRepository extends JpaRepository<Administrator,Integer> {

    public List<Administrator> findByNoAndPassword(String no, String password);

}
